Skip to content

Conversation

@mwienk
Copy link

@mwienk mwienk commented Jan 7, 2026

When a string in the content contains a single escaped double quote, the masking of the string fails in the CSP Nonce handler. This results in an issue with the following parts of the string, causing issues like #667

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

I updated the regex so it matches only true double quotes after the opening quotes. Escaped quotes \" are now included in the placeholder content.

Resolves #667

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes (if not applicable, please state why)

@vercel
Copy link

vercel bot commented Jan 7, 2026

@mwienk is attempting to deploy a commit to the Baroshem's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Blockage of Nuxt inline script

1 participant